from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from module import login

#window.navigator.webdriver
chrome_options = Options()
chrome_options.add_experimental_option("debuggerAddress", "127.0.0.1:9222")
chrome_driver = "C:\Program Files (x86)\Google\Chrome\Application\chromedriver.exe"
driver = webdriver.Chrome(chrome_driver, chrome_options=chrome_options)
# 模拟登录
driver = login.login('xiong', '123', driver)

print(driver.title)

